const userRouter = require("express").Router();
const userController = require("../../controller/user/index");

userRouter
	.get("/permissions", userController.getUserPermissions) // 获取用户权限
	.get("/byTokenGetUserInfo", userController.byTokenGetUserInfo) // 根据token获取用户信息
	.post("/login", userController.login); // 登录

module.exports = userRouter;
